﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Hwh_Shop.Service
{
	/// <summary>
	/// 创建分发密钥接口
	/// </summary>
	public interface IJWTService
	{

		/// <summary>
		/// 创建Token 密钥
		/// </summary>
		/// <param name="name"></param>
		/// <returns></returns>
		string CreateToken(string name, int userId);
	}
}
